<?php

class Admin_IndexController extends Zend_Controller_Action
{

    public function init()
    {
		if(!Zend_Auth::getInstance()->hasIdentity())  
		{
			$this->_redirect('admin/login');  
		}  
    }

    public function indexAction()
    {
    	$this->view->message = "Bienvenue sur la section d'administration de Wroom";
    	$this->view->titre = "Bienvenue"." ".Zend_Auth::getInstance()->getIdentity();
    }


}

